import http from "../utils/request";

export const proListApi = (params?: object) =>
  http.get("/admin/pro/list", params);

export const proSearchApi = (data?: object) =>
  http.post("/admin/pro/searchPro", data);

export const getCategoryApi = (params?: object) =>
  http.get("/admin/pro/getCategory", params);
